using System;
using System.Collections.Generic;
using System.Text;
using Chat.metier;

namespace Chat.remoting
{
    [Serializable]
    public class WrapUser
    {
        private User user;
        private string guid;
        private DateTime timestamp;

        public User User
        {
            get { return user; }
            set { user = value; }
        }
        

        public string Uid
        {
            get { return guid; }
            set { guid = value; }
        }

        public DateTime Timestamp
        {
            get { return timestamp; }
            set { timestamp = value; }
        }

        public WrapUser(User user)
        {
            this.user = user;
            this.guid = Guid.NewGuid().ToString();
            this.timestamp = DateTime.Now;
        }

        

    }
}
